package com.linkcard.list.manager;

import java.util.List;

import com.linkcard.commen.tools.Page;
import com.linkcard.list.model.Buycard;
import com.linkcard.list.persistence.BuycardDao;

public class BuycardManagerImpl implements BuycardManager {

	private BuycardDao buycardDao=null;
	//添加办卡信息
	public boolean addBuycardInfo(Buycard buycard) {
		return this.buycardDao.addBuycardInfo(buycard);
	}
	public BuycardDao getBuycardDao() {
		return buycardDao;
	}
	public void setBuycardDao(BuycardDao buycardDao) {
		this.buycardDao = buycardDao;
	}
	//获得办卡列表
	public List buycardList(Page pageObj) {
		return this.buycardDao.buycardList(pageObj);
	}
	//回访
	public boolean returnVisit(Buycard buycard) {
		return this.buycardDao.returnVisit(buycard);
	}
	//删除
	public boolean delteBuycard(Integer id) {
		return this.buycardDao.delteBuycard(id);
	}

}
